package com.cyf.common.core.common.entity;

import cn.hutool.core.util.RandomUtil;
import lombok.Data;

/**
 * @author chenyifan
 * @create 2024-11-06 13:30
 */
@Data
public class Children {

    private String childName;
    private Integer age;

    public static Children generateChild() {
        Children children = new Children();
        children.setChildName(RandomUtil.randomString(10));
        children.setAge(RandomUtil.randomInt(1, 100));
        return children;
    }
}
